package cn.com.roy.thread.t7_1_4.stateTest4;

public class Run {
    public static void main(String[] args) {
        try {
            MyThread t1 = new MyThread();
            t1.setName("A");
            t1.start();
            Thread.sleep(1000);
            System.out.println("main方法中的t2状态：" + t1.getState());
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
